package com.wicket.okrapp.integration.dto;


import com.wicket.okrapp.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Objects;



/**
 * @desc CycleConfDto
 * @使用场景
 */
@Data
public class CycleConfDto extends BaseDto implements Serializable {

    /**
     * 周期配置ID:
     */
    @ApiModelProperty("周期配置ID")
    private String cycleConfId;

    /**
     * 周期配置标识:
     */
    @ApiModelProperty("周期配置标识")
    private String cycleConfCode;

    /**
     * 周期配置名称:
     */
    @ApiModelProperty("周期配置名称")
    private String cycleConfName;

    /**
     * 主体生命周期:
     */
    @ApiModelProperty("主体生命周期")
    private String subjectLifeCycle;

    /**
     * 操作人就职记录ID:
     */
    @ApiModelProperty("操作人就职记录ID")
    private String operationInductionId;

    /**
     * 操作时间:
     */
    @ApiModelProperty("操作时间")
    private Date operateTime;
/**
     * 是否存档
     */
    @ApiModelProperty("是否存档")
    private String	 isArchive;

    @Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      CycleConfDto that = (CycleConfDto) o;
      return  cycleConfId == that.cycleConfId&&cycleConfCode == that.cycleConfCode&&cycleConfName == that.cycleConfName&&subjectLifeCycle == that.subjectLifeCycle&&operationInductionId == that.operationInductionId&&operateTime == that.operateTime&&isArchive == that.isArchive;
    }

    @Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), cycleConfId,cycleConfCode,cycleConfName,subjectLifeCycle,operationInductionId,operateTime,isArchive);
    }

}
